package com.bilibili.entity;

import java.util.Date;

public class WatchHistory {
	private int historyId;
    private int userId;
    private int videoId;
    private Date watchTime;
    private int duration;
    private int progress;
    private int isCompleted;
	public int getHistoryId() {
		return historyId;
	}
	public void setHistoryId(int historyId) {
		this.historyId = historyId;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public int getVideoId() {
		return videoId;
	}
	public void setVideoId(int videoId) {
		this.videoId = videoId;
	}
	public Date getWatchTime() {
		return watchTime;
	}
	public void setWatchTime(Date watchTime) {
		this.watchTime = watchTime;
	}
	public int getDuration() {
		return duration;
	}
	public void setDuration(int duration) {
		this.duration = duration;
	}
	public int getProgress() {
		return progress;
	}
	public void setProgress(int progress) {
		this.progress = progress;
	}
	public int getIsCompleted() {
		return isCompleted;
	}
	public void setIsCompleted(int isCompleted) {
		this.isCompleted = isCompleted;
	}
	public WatchHistory(int userId, int videoId, Date watchTime, int duration, int progress, int isCompleted) {
		super();
		this.userId = userId;
		this.videoId = videoId;
		this.watchTime = watchTime;
		this.duration = duration;
		this.progress = progress;
		this.isCompleted = isCompleted;
	}
	public WatchHistory() {
		super();
	}
    
}
